package Common 
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.GradientType;
	import flash.display.InterpolationMethod;
	import flash.display.SpreadMethod;
	import flash.display.Sprite;
	import flash.filters.DropShadowFilter;
	import flash.geom.Matrix;
	import flash.text.TextField;
	import flash.text.TextFormat;
	import flash.text.TextFormatAlign;
	import Fonts.CalibriEmbed;
	
	/**
	 * ...
	 * @author Serg de Adelantado
	 */
	public class TextMessage extends AbstractMessage 
	{
		public function TextMessage() 
		{
			super();
			Resize();
		}
		
		override protected function SetSizes():void
		{
			FWidth = 256;
			FHeight = 128;			
		}
		
		override public function Resize():void 
		{			
			FHeadrer.height = FHeadrer.textHeight;
			FHeadrer.width = FWidth;
			FText.width = FWidth - 20;
			FText.height = FHeight - 40;
			FText.x = 10;
			FText.y = 30;
		}	
	}
}